package com.sm.healthy.model

import com.sm.healthy.base.App
import me.hgj.jetpackmvvm.base.viewmodel.BaseViewModel

class HistorySpo2Model : BaseViewModel() {

    private val dao = App.database.spo2Dao()

    fun getAllSpo2List() = dao.getSpo2()

    fun getSpo2ByTime(before: Long, after: Long) = dao.getSpo2ByTime(before, after)


}